Release 10.1A: OpenEdge Development:
ProDataSets
Filtering the top-level query based on the user selection
You will recall from earlier examples that the ProDataSet
BEFORE-FILLevent procedure, calledpreDataSetFill, prepares the top-level query forOrders to select the oneOrderNumpassed in as an input parameter. Now you want to use the where-clause stored in the variablecSelectioninstead.Modify
preDataSetFillaccordingly, as follows:
Now the fill will load not just one
Order, but typically a whole set ofOrders into the top-level table.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |